package com.voicechat.firstmet.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @ProjectName: FirstMet
 * @Package: com.voicechat.firstmet.bean
 * @ClassName: SharePhotoBean
 * @Description: 共享闺蜜bean
 * @Author: ljp
 * @CreateDate: 2019/1/16 9:43
 * @Version: 1.0
 */
public class ShareGirlsDetailsBean {


    /**
     * code : 200
     * msg : 成功
     * page : {"pageNo":1,"pageSize":10,"count":10,"list":[{"id":"38f3e5db08624948a7b6eeb382b1678a","isNewRecord":false,"userId":"234c6d0d59d74a4692db4a0edcf377e3","avatarUrl":"www.baidu.com","nickName":"小怂","age":18,"height":180,"weight":130,"education":"本科","info":"123456","price":"100","relation":"3616161310","address":"杭州"},{"id":"4a5c4a23f41d48cc90c0714f37f5d54e","isNewRecord":false,"userId":"234c6d0d59d74a4692db4a0edcf377e3","avatarUrl":"www.baidu.com","nickName":"小涛","age":18,"height":180,"weight":130,"education":"本科","info":"123456","price":"100","relation":"3616161310","address":"杭州"},{"id":"98c0c75e418c4f9e939d3224080c1f0d","isNewRecord":false,"userId":"234c6d0d59d74a4692db4a0edcf377e3","avatarUrl":"www.baidu.com","nickName":"小白","age":18,"height":180,"weight":130,"education":"本科","info":"123456","price":"100","relation":"3616161310","address":"杭州"},{"id":"d28167efd7b94e9d94979f3d80ef8b1f","isNewRecord":false,"userId":"234c6d0d59d74a4692db4a0edcf377e3","avatarUrl":"www.baidu.com","nickName":"小颜","age":18,"height":180,"weight":130,"education":"本科","info":"123456","price":"100","relation":"3616161310","address":"杭州"},{"id":"7d622894b55d483b87bd2246950aa3d8","isNewRecord":false,"userId":"234c6d0d59d74a4692db4a0edcf377e3","avatarUrl":"www.baidu.com","nickName":"小池","age":18,"height":180,"weight":130,"education":"本科","info":"123456","price":"100","relation":"3616161310","address":"杭州"},{"id":"0c6d1a7925d044df90d9b3f33314d5c4","isNewRecord":false,"userId":"234c6d0d59d74a4692db4a0edcf377e3","avatarUrl":"www.baidu.com","nickName":"小木","age":18,"height":180,"weight":130,"education":"本科","info":"123456","price":"100","relation":"3616161310","address":"杭州"},{"id":"0376826044d1456884836c45e4a7e363","isNewRecord":false,"userId":"234c6d0d59d74a4692db4a0edcf377e3","avatarUrl":"www.baidu.com","nickName":"小宋","age":18,"height":180,"weight":130,"education":"本科","info":"123456","price":"100","relation":"3616161310","address":"杭州"},{"id":"a09ea4dbbab24b30890358b15987c9ad","isNewRecord":false,"userId":"234c6d0d59d74a4692db4a0edcf377e3","avatarUrl":"www.baidu.com","nickName":"小黑","age":18,"height":180,"weight":130,"education":"本科","info":"123456","price":"100","relation":"3616161310","address":"杭州"},{"id":"0c9c672f94254ce4be321868a7b46518","isNewRecord":false,"userId":"234c6d0d59d74a4692db4a0edcf377e3","avatarUrl":"www.baidu.com","nickName":"小文","age":18,"height":180,"weight":130,"education":"本科","info":"123456","price":"100","relation":"3616161310","address":"杭州"},{"id":"c4e36794dfe146eb92da7f4ac8940d6c","isNewRecord":false,"userId":"234c6d0d59d74a4692db4a0edcf377e3","avatarUrl":"www.baidu.com","nickName":"小红","age":18,"height":180,"weight":130,"education":"本科","info":"123456","price":"100","relation":"3616161310","address":"杭州"}],"maxResults":10,"firstResult":0}
     */

    private int code;
    private String msg;
    /**
     * map : {"mdUser":{"id":"2ecf4e4ee9904a919359f8dd6bbf89f3","isNewRecord":false,"nickName":"小姐姐","avatarUrl":"head/58241545277708142.jpg","gender":2,"birthday":"1999-12-19","type":2,"vType":1,"isAttestation":1},"mdFriend":{"id":"c683dbf1871649bcadc31d0478e6226c","isNewRecord":false,"remarks":"","createDate":"2019-01-18 11:46:33","updateDate":"2019-01-18 11:59:37","userId":"2ecf4e4ee9904a919359f8dd6bbf89f3","avatarUrl":"album/1547783193170.jpg,album/1547783193299.jpg,album/1547783193383.jpg","nickName":"好看","age":25,"height":167,"weight":31,"education":"博士","info":"好看","price":"50","relation":"5368412585233","address":"杭州","gender":"女","status":1,"reviewer":"系统管理员","reviewerDate":1547783977000}}
     */

    private MapBean map;
    /**
     * object : {"id":"3ac787e7c69f4261a9c8016d2b5e0253","isNewRecord":false,"remarks":"10","createDate":"2019-01-21 17:18:19","updateDate":"2019-01-21 17:18:19","userId":"2ecf4e4ee9904a919359f8dd6bbf89f3","friendReleaseId":"4ebe20d04c564d18bdfab4fab2ee277a","address":"杭州","accompany":1,"receiptStatus":0,"complete":2,"cancelSign":2}
     */

    private ObjectBean object;


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }


    public MapBean getMap() {
        return map;
    }

    public void setMap(MapBean map) {
        this.map = map;
    }

    public ObjectBean getObject() {
        return object;
    }

    public void setObject(ObjectBean object) {
        this.object = object;
    }

    public static class MapBean {
        @Override
        public String toString() {
            return "MapBean{" +
                    "mdUser=" + mdUser +
                    ", mdFriend=" + mdFriend +
                    '}';
        }

        /**
         * mdUser : {"id":"2ecf4e4ee9904a919359f8dd6bbf89f3","isNewRecord":false,"nickName":"小姐姐","avatarUrl":"head/58241545277708142.jpg","gender":2,"birthday":"1999-12-19","type":2,"vType":1,"isAttestation":1}
         * mdFriend : {"id":"c683dbf1871649bcadc31d0478e6226c","isNewRecord":false,"remarks":"","createDate":"2019-01-18 11:46:33","updateDate":"2019-01-18 11:59:37","userId":"2ecf4e4ee9904a919359f8dd6bbf89f3","avatarUrl":"album/1547783193170.jpg,album/1547783193299.jpg,album/1547783193383.jpg","nickName":"好看","age":25,"height":167,"weight":31,"education":"博士","info":"好看","price":"50","relation":"5368412585233","address":"杭州","gender":"女","status":1,"reviewer":"系统管理员","reviewerDate":1547783977000}
         */

        private MdUserBean mdUser;//发布者信息
        private MdFriendBean mdFriend;//闺蜜信息

        public MdUserBean getMdUser() {
            return mdUser;
        }

        public void setMdUser(MdUserBean mdUser) {
            this.mdUser = mdUser;
        }

        public MdFriendBean getMdFriend() {
            return mdFriend;
        }

        public void setMdFriend(MdFriendBean mdFriend) {
            this.mdFriend = mdFriend;
        }

        public static class MdUserBean implements Parcelable{
            protected MdUserBean(Parcel in) {
                id = in.readString();
                isNewRecord = in.readByte() != 0;
                nickName = in.readString();
                avatarUrl = in.readString();
                gender = in.readInt();
                birthday = in.readString();
                type = in.readInt();
                vType = in.readInt();
                isAttestation = in.readInt();
                autograph = in.readString();
            }

            public static final Creator<MdUserBean> CREATOR = new Creator<MdUserBean>() {
                @Override
                public MdUserBean createFromParcel(Parcel in) {
                    return new MdUserBean(in);
                }

                @Override
                public MdUserBean[] newArray(int size) {
                    return new MdUserBean[size];
                }
            };

            @Override
            public String toString() {
                return "MdUserBean{" +
                        "id='" + id + '\'' +
                        ", isNewRecord=" + isNewRecord +
                        ", nickName='" + nickName + '\'' +
                        ", avatarUrl='" + avatarUrl + '\'' +
                        ", gender=" + gender +
                        ", birthday='" + birthday + '\'' +
                        ", type=" + type +
                        ", vType=" + vType +
                        ", isAttestation=" + isAttestation +
                        '}';
            }

            /**
             * id : 2ecf4e4ee9904a919359f8dd6bbf89f3
             * isNewRecord : false
             * nickName : 小姐姐
             * avatarUrl : head/58241545277708142.jpg
             * gender : 2
             * birthday : 1999-12-19
             * type : 2
             * vType : 1
             * isAttestation : 1
             */

            private String id;
            private boolean isNewRecord;
            private String nickName;
            private String avatarUrl;
            private int gender;
            private String birthday;
            private int type;
            private int vType;
            private int isAttestation;
            private String autograph;//个性签名

            public String getAutograph() {
                return autograph;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getAvatarUrl() {
                return avatarUrl;
            }

            public void setAvatarUrl(String avatarUrl) {
                this.avatarUrl = avatarUrl;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getVType() {
                return vType;
            }

            public void setVType(int vType) {
                this.vType = vType;
            }

            public int getIsAttestation() {
                return isAttestation;
            }

            public void setIsAttestation(int isAttestation) {
                this.isAttestation = isAttestation;
            }

            @Override
            public int describeContents() {
                return 0;
            }

            @Override
            public void writeToParcel(Parcel dest, int flags) {
                dest.writeString(id);
                dest.writeByte((byte) (isNewRecord ? 1 : 0));
                dest.writeString(nickName);
                dest.writeString(avatarUrl);
                dest.writeInt(gender);
                dest.writeString(birthday);
                dest.writeInt(type);
                dest.writeInt(vType);
                dest.writeInt(isAttestation);
                dest.writeString(autograph);
            }
        }

        public static class MdFriendBean {
            @Override
            public String toString() {
                return "MdFriendBean{" +
                        "id='" + id + '\'' +
                        ", isNewRecord=" + isNewRecord +
                        ", remarks='" + remarks + '\'' +
                        ", createDate='" + createDate + '\'' +
                        ", updateDate='" + updateDate + '\'' +
                        ", userId='" + userId + '\'' +
                        ", avatarUrl='" + avatarUrl + '\'' +
                        ", nickName='" + nickName + '\'' +
                        ", age=" + age +
                        ", height=" + height +
                        ", weight=" + weight +
                        ", education='" + education + '\'' +
                        ", info='" + info + '\'' +
                        ", price=" + price +
                        ", relation='" + relation + '\'' +
                        ", address='" + address + '\'' +
                        ", gender='" + gender + '\'' +
                        ", status=" + status +
                        ", reviewer='" + reviewer + '\'' +
                        ", reviewerDate=" + reviewerDate +
                        '}';
            }

            /**
             * id : c683dbf1871649bcadc31d0478e6226c
             * isNewRecord : false
             * remarks :
             * createDate : 2019-01-18 11:46:33
             * updateDate : 2019-01-18 11:59:37
             * userId : 2ecf4e4ee9904a919359f8dd6bbf89f3
             * avatarUrl : album/1547783193170.jpg,album/1547783193299.jpg,album/1547783193383.jpg
             * nickName : 好看
             * age : 25
             * height : 167
             * weight : 31
             * education : 博士
             * info : 好看
             * price : 50
             * relation : 5368412585233
             * address : 杭州
             * gender : 女
             * status : 1
             * reviewer : 系统管理员
             * reviewerDate : 1547783977000
             */

            private String id;
            private boolean isNewRecord;
            private String remarks;
            private String createDate;
            private String updateDate;
            private String userId;
            private String avatarUrl;
            private String nickName;
            private int age;
            private int height;
            private int weight;
            private String education;
            private String info;
            private int price;
            private String relation;
            private String address;
            private int gender;
            private int status;
            private String reviewer;
            private long reviewerDate;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getRemarks() {
                return remarks;
            }

            public void setRemarks(String remarks) {
                this.remarks = remarks;
            }

            public String getCreateDate() {
                return createDate;
            }

            public void setCreateDate(String createDate) {
                this.createDate = createDate;
            }

            public String getUpdateDate() {
                return updateDate;
            }

            public void setUpdateDate(String updateDate) {
                this.updateDate = updateDate;
            }

            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public String getAvatarUrl() {
                return avatarUrl;
            }

            public void setAvatarUrl(String avatarUrl) {
                this.avatarUrl = avatarUrl;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public int getAge() {
                return age;
            }

            public void setAge(int age) {
                this.age = age;
            }

            public int getHeight() {
                return height;
            }

            public void setHeight(int height) {
                this.height = height;
            }

            public int getWeight() {
                return weight;
            }

            public void setWeight(int weight) {
                this.weight = weight;
            }

            public String getEducation() {
                return education;
            }

            public void setEducation(String education) {
                this.education = education;
            }

            public String getInfo() {
                return info;
            }

            public void setInfo(String info) {
                this.info = info;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public String getRelation() {
                return relation;
            }

            public void setRelation(String relation) {
                this.relation = relation;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getReviewer() {
                return reviewer;
            }

            public void setReviewer(String reviewer) {
                this.reviewer = reviewer;
            }

            public long getReviewerDate() {
                return reviewerDate;
            }

            public void setReviewerDate(long reviewerDate) {
                this.reviewerDate = reviewerDate;
            }
        }
    }

    @Override
    public String toString() {
        return "ShareGirlsBean{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", map=" + map +
                '}';
    }
    /**
    * @method
    * @description 预订单bean
    * @date: 2019/1/21 17:26
    * @author: ljp
    * @return
    */
    public static class ObjectBean {
        /**
         * id : 3ac787e7c69f4261a9c8016d2b5e0253
         * isNewRecord : false
         * remarks : 10
         * createDate : 2019-01-21 17:18:19
         * updateDate : 2019-01-21 17:18:19
         * userId : 2ecf4e4ee9904a919359f8dd6bbf89f3
         * friendReleaseId : 4ebe20d04c564d18bdfab4fab2ee277a
         * address : 杭州
         * accompany : 1
         * receiptStatus : 0
         * complete : 2
         * cancelSign : 2
         */

        private String id;
        private boolean isNewRecord;
        private String remarks;//备注信息
        private String createDate;
        private String updateDate;
        private String userId;
        private String friendReleaseId;//闺蜜信息id
        private String address;//约会地点
        private int accompany;//陪同标记
        private int receiptStatus;//接单状态
        private int complete;//完成状态
        private int cancelSign;//取消约会标记
        private int time;//约会时间

        public int getTime() {
            return time;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public boolean isIsNewRecord() {
            return isNewRecord;
        }

        public void setIsNewRecord(boolean isNewRecord) {
            this.isNewRecord = isNewRecord;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public String getUserId() {
            return userId;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public String getFriendReleaseId() {
            return friendReleaseId;
        }

        public void setFriendReleaseId(String friendReleaseId) {
            this.friendReleaseId = friendReleaseId;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public int getAccompany() {
            return accompany;
        }

        public void setAccompany(int accompany) {
            this.accompany = accompany;
        }

        public int getReceiptStatus() {
            return receiptStatus;
        }

        public void setReceiptStatus(int receiptStatus) {
            this.receiptStatus = receiptStatus;
        }

        public int getComplete() {
            return complete;
        }

        public void setComplete(int complete) {
            this.complete = complete;
        }

        public int getCancelSign() {
            return cancelSign;
        }

        public void setCancelSign(int cancelSign) {
            this.cancelSign = cancelSign;
        }
    }
}
